package com.hissy.common.generator_01;

import java.nio.charset.Charset;

public class ConstField {
    public static final String UTF8_STRING = "utf-8";
    public static final Charset UTF8 = Charset.forName(UTF8_STRING);
    public static final Charset ASCII = Charset.forName("ascii");
    public static final byte[] XML_START = "<xml>".getBytes(UTF8);
    public static final byte[] XML_END = "</xml>".getBytes(UTF8);
    public static final byte[] JSON_START = "{\"stat\":".getBytes(UTF8);
    public static final byte[] JSON_CONTENT = ",\"content\":[".getBytes(UTF8);
    public static final byte[] XML_EMPTY = "<empty/>".getBytes(ConstField.UTF8);
    public static final byte[] JSON_SPLIT = ",".getBytes(UTF8);
    public static final byte[] JSON_END = "]}".getBytes(UTF8);
    public static final byte[] JSON_EMPTY = "{}".getBytes(UTF8);
    public static final byte[] JSONP_START = "(".getBytes(UTF8);
    public static final byte[] JSONP_END = ");".getBytes(UTF8);
    public static final String ERROR_CODE_EXT = "com.yit.ERROR_CODE_EXT";
    public static final String SET_COOKIE_TOKEN = "com.yit.SET_COOKIE_TOKEN";
    public static final String SET_COOKIE_STOKEN = "com.yit.SET_COOKIE_STOKEN";
    public static final String SET_COOKIE_TTOKEN = "com.yit.SET_COOKIE_TTOKEN";
    public static final String SET_COOKIE_ETOKEN = "com.yit.SET_COOKIE_ETOKEN";
    public static final String REDIRECT_TO = "com.yit.REDIRECT_TO";
    public static final String MSG = "com.yit.MSG";
    public static final String SERVICE_LOG = "com.yit.SERVICE_LOG";
    public static final String CONF_PATH_ENV = "GATEWAY_CONF_PATH";
}